package my.dao.impl.rowmapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import my.dao.DaoException;
import my.dao.RowMapper;

public class DoubleRowMapperImpl implements RowMapper<Double> {
	
	
	private static DoubleRowMapperImpl instance=new DoubleRowMapperImpl();
	
	public static DoubleRowMapperImpl getInstance(){
		return instance;
	}
	
	private DoubleRowMapperImpl(){}

	public Double currRow2Obj(ResultSet rs) throws SQLException,
			DaoException {		
		return rs.getDouble(1);
	}

}
